package me.spring.cloud.common.components.rpc.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.spring.cloud.common.components.rpc.response.header.RespHeader;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResponse<T> implements Response<T> {

  /**
   * 响应头信息
   */
  private RespHeader header;

  /**
   * 响应腰带：需要传递的业务对象
   */
  private T body;

}